<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.11.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cppMISC: include/details/sslSvrItfc.hpp 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<script type="text/javascript" src="../../clipboard.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../cookie.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript" src="../../darkmode_toggle.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">cppMISC<span id="projectnumber">&#160;v1.1</span>
   </div>
   <div id="projectbrief">cppMisc 文档系统</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.11.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(1); });
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','搜索',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_ae5bdaf1b45f3c0e6fd5dd3984d2eafd.html">details</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">sslSvrItfc.hpp</div></div>
</div><!--header-->
<div class="contents">
<a href="../../df/d6c/ssl_svr_itfc_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span> </div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="preprocessor">#include &lt;openssl/ssl.h&gt;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="preprocessor">#include &lt;openssl/err.h&gt;</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="preprocessor">#include &quot;<a class="code" href="../../d0/d5c/malloc_shared_ptr_8hpp.html">mallocSharedPtr.hpp</a>&quot;</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="preprocessor">#include &quot;<a class="code" href="../../d1/d65/rb_tree_8hpp.html">container/rbTree.hpp</a>&quot;</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="preprocessor">#include &quot;<a class="code" href="../../dd/dce/thread_pool_8hpp.html">threadPool.hpp</a>&quot;</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="preprocessor">#include &quot;<a class="code" href="../../df/d9a/design_m_2command_8hpp.html">designM/command.hpp</a>&quot;</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="preprocessor">#include &quot;<a class="code" href="../../d9/d7a/variant_8hpp.html">container/variant.hpp</a>&quot;</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="keyword">class </span><a class="code hl_class" href="../../d7/d24/classssl_svr_connection.html">sslSvrConnection</a>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="foldopen" id="foldopen00022" data-start="{" data-end="};">
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html">   22</a></span><span class="keyword">struct </span><a class="code hl_struct" href="../../dd/dd6/structssl_svr_itfc.html">sslSvrItfc</a></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>{</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#if defined( WIN32 ) || defined( WINNT )</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#    include &lt;windows.h&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>    <span class="keyword">using </span>native_socket = SOCKET;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#elif defined( __LINUX__ )</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    <span class="keyword">using </span>native_socket = int;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#ad073fa1a447553619cab807f258d86e5">   33</a></span>    <span class="keyword">using </span><a class="code hl_typedef" href="../../dd/dd6/structssl_svr_itfc.html#ad073fa1a447553619cab807f258d86e5">connection_t</a> = std::shared_ptr&lt; sslSvrConnection &gt;;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#adc978f5401547f1dc62ead097c36bd97">   34</a></span>    <span class="keyword">using </span><a class="code hl_class" href="../../dc/df1/classwheels_1_1rb_tree.html">connData_t</a> = <a class="code hl_class" href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree&lt; native_socket , connection_t &gt;</a>;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="foldopen" id="foldopen00036" data-start="{" data-end="};">
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898">   36</a></span>    <span class="keyword">enum class</span> <span class="keyword">event</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>    {</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>        <a class="code hl_enumvalue" href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898afe114681e82f0736ce511f8aaeff3fb7">EVT_REQ_CONNECT</a>,</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>        <a class="code hl_enumvalue" href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898aefd30a9a39d241aa16dee6536ed580dc">EVT_CONNECTED</a>,</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>        <a class="code hl_enumvalue" href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898a764aab757b6485d4d2713b5dad341c39">EVT_CLOSE</a>,</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span>        <a class="code hl_enumvalue" href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898a572d1837c030072e32b3d3a5e55cf928">EVT_DATA</a>,</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>        <a class="code hl_enumvalue" href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898ac96dc57c504c76f8160000df53d794f6">EVT_ERROR</a></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span>    };</div>
</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#a48c796d2a1cd0e9a2320443f84d8c2ad">   45</a></span>    <span class="keyword">using </span><a class="code hl_class" href="../../dd/d08/classwheels_1_1dm_1_1dispatcher.html">dispatcher_t</a> = <a class="code hl_class" href="../../dd/d08/classwheels_1_1dm_1_1dispatcher.html">wheels::dm::dispatcher&lt; event &gt;</a>;</div>
<div class="foldopen" id="foldopen00046" data-start="{" data-end="};">
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="../../d0/dba/structssl_svr_itfc_1_1evt_data.html">   46</a></span>    <span class="keyword">struct </span><a class="code hl_struct" href="../../d0/dba/structssl_svr_itfc_1_1evt_data.html">evtData</a>{</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="../../d0/dba/structssl_svr_itfc_1_1evt_data.html#a01c50cfc280991971867a28d430ac769">   47</a></span>        <a class="code hl_typedef" href="../../dd/dd6/structssl_svr_itfc.html#ad073fa1a447553619cab807f258d86e5">connection_t</a>                         <a class="code hl_variable" href="../../d0/dba/structssl_svr_itfc_1_1evt_data.html#a01c50cfc280991971867a28d430ac769">m_conn</a>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="../../d0/dba/structssl_svr_itfc_1_1evt_data.html#a741f45ce13d54a2aab4d5f680aa02445">   48</a></span>        <a class="code hl_class" href="../../da/d39/classwheels_1_1malloc_shared_ptr.html">wheels::mallocSharedPtr&lt; uint8_t &gt;</a>   <a class="code hl_variable" href="../../d0/dba/structssl_svr_itfc_1_1evt_data.html#a741f45ce13d54a2aab4d5f680aa02445">m_data</a>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>    };</div>
</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#a220330cc0745a8b2b741ac6b582daef6">   51</a></span>    SSL_CTX           * <a class="code hl_variable" href="../../dd/dd6/structssl_svr_itfc.html#a220330cc0745a8b2b741ac6b582daef6">p_ctx__</a>;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>    </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#a7a269f744e8745c19f477713eee954dd">   53</a></span>    <a class="code hl_class" href="../../dc/df1/classwheels_1_1rb_tree.html">connData_t</a>          <a class="code hl_variable" href="../../dd/dd6/structssl_svr_itfc.html#a7a269f744e8745c19f477713eee954dd">m_connections__</a>;  <span class="comment">// 连接表</span></div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#a958a13724cab4df40fd1537621fc26ef">   54</a></span>    <a class="code hl_class" href="../../dd/d3f/classwheels_1_1thread_pool.html">wheels::threadPool</a>  <a class="code hl_variable" href="../../dd/dd6/structssl_svr_itfc.html#a958a13724cab4df40fd1537621fc26ef">m_thd_pool__</a>;     <span class="comment">// 线程池</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>        </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>    <a class="code hl_function" href="../../dd/dd6/structssl_svr_itfc.html#ad5dfcc33ce645d022356211622061b33">sslSvrItfc</a>( <span class="keyword">const</span> std::string&amp; ca , <span class="keyword">const</span> std::string&amp; cert , <span class="keyword">const</span> std::string&amp; key );</div>
<div class="foldopen" id="foldopen00059" data-start="{" data-end="}">
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#aa65a5eeb17702fe20f8478eaf0baf08c">   59</a></span>    <span class="keyword">virtual</span> <a class="code hl_function" href="../../dd/dd6/structssl_svr_itfc.html#aa65a5eeb17702fe20f8478eaf0baf08c">~sslSvrItfc</a>(){</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>        <span class="keyword">auto</span> * p_evt_loop = <a class="code hl_class" href="../../d5/dc5/classwheels_1_1dm_1_1main_loop.html">wheels::dm::mainLoop&lt; event &gt;::create</a>();</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>        <span class="keywordflow">if</span>( p_evt_loop ){</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>            p_evt_loop-&gt;stop();</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>            <a class="code hl_variable" href="../../dd/dd6/structssl_svr_itfc.html#a958a13724cab4df40fd1537621fc26ef">m_thd_pool__</a>.<a class="code hl_function" href="../../dd/d3f/classwheels_1_1thread_pool.html#a079473d51ebba64f27b45a7a157e2c49">start</a>( <span class="keyword">false</span> );</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span>        }</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>    }</div>
</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>    <span class="keywordtype">bool</span> <a class="code hl_function" href="../../dd/dd6/structssl_svr_itfc.html#a924bd60b0510cc1ac7dfa7d9054a7354">accept</a>( native_socket sock );</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>    <a class="code hl_typedef" href="../../dd/dd6/structssl_svr_itfc.html#ad073fa1a447553619cab807f258d86e5">connection_t</a> <a class="code hl_function" href="../../dd/dd6/structssl_svr_itfc.html#a98b203594549cebe0e33fb337f03546b">get</a>( native_socket h );</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    <a class="code hl_typedef" href="../../dd/dd6/structssl_svr_itfc.html#ad073fa1a447553619cab807f258d86e5">connection_t</a> <a class="code hl_function" href="../../dd/dd6/structssl_svr_itfc.html#a2029471fc437ad4b3b0aa0b4c7af130c">operator[]</a>( native_socket h );</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>    <span class="keywordtype">void</span> <a class="code hl_function" href="../../dd/dd6/structssl_svr_itfc.html#acdb9712008d526d5fe9594e87671ddb7">erase</a>( native_socket h );</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#a8ce639940281945cfb350d3c6512496d">   82</a></span>    uint32_t <a class="code hl_function" href="../../dd/dd6/structssl_svr_itfc.html#a8ce639940281945cfb350d3c6512496d">counts</a>();</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="../../dd/dd6/structssl_svr_itfc.html#a808be744b34f1d77675c48b7e625d582">   84</a></span>    <a class="code hl_class" href="../../dd/d08/classwheels_1_1dm_1_1dispatcher.html">wheels::dm::dispatcher&lt;event&gt;</a> * <a class="code hl_function" href="../../dd/dd6/structssl_svr_itfc.html#a808be744b34f1d77675c48b7e625d582">getDispatcher</a>();</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>};</div>
</div>
<div class="ttc" id="aclassssl_svr_connection_html"><div class="ttname"><a href="../../d7/d24/classssl_svr_connection.html">sslSvrConnection</a></div><div class="ttdoc">SSL连接</div><div class="ttdef"><b>定义</b> <a href="../../d8/d9b/ssl_connection_8hpp_source.html#l00014">sslConnection.hpp:15</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1dispatcher_html"><div class="ttname"><a href="../../dd/d08/classwheels_1_1dm_1_1dispatcher.html">wheels::dm::dispatcher</a></div><div class="ttdef"><b>定义</b> <a href="../../da/d26/dispatcher_8hpp_source.html#l00029">dispatcher.hpp:33</a></div></div>
<div class="ttc" id="aclasswheels_1_1dm_1_1main_loop_html"><div class="ttname"><a href="../../d5/dc5/classwheels_1_1dm_1_1main_loop.html">wheels::dm::mainLoop</a></div><div class="ttdef"><b>定义</b> <a href="../../d0/dfd/mainloop_8hpp_source.html#l00023">mainloop.hpp:27</a></div></div>
<div class="ttc" id="aclasswheels_1_1malloc_shared_ptr_html"><div class="ttname"><a href="../../da/d39/classwheels_1_1malloc_shared_ptr.html">wheels::mallocSharedPtr&lt; uint8_t &gt;</a></div></div>
<div class="ttc" id="aclasswheels_1_1rb_tree_html"><div class="ttname"><a href="../../dc/df1/classwheels_1_1rb_tree.html">wheels::rbTree&lt; native_socket, connection_t &gt;</a></div></div>
<div class="ttc" id="aclasswheels_1_1thread_pool_html"><div class="ttname"><a href="../../dd/d3f/classwheels_1_1thread_pool.html">wheels::threadPool</a></div><div class="ttdef"><b>定义</b> <a href="../../dd/dce/thread_pool_8hpp_source.html#l00021">threadPool.hpp:22</a></div></div>
<div class="ttc" id="aclasswheels_1_1thread_pool_html_a079473d51ebba64f27b45a7a157e2c49"><div class="ttname"><a href="../../dd/d3f/classwheels_1_1thread_pool.html#a079473d51ebba64f27b45a7a157e2c49">wheels::threadPool::start</a></div><div class="ttdeci">void start(bool sw=true)</div><div class="ttdoc">启动或者停止线程</div><div class="ttdef"><b>定义</b> <a href="../../dd/dce/thread_pool_8hpp_source.html#l00104">threadPool.hpp:104</a></div></div>
<div class="ttc" id="adesign_m_2command_8hpp_html"><div class="ttname"><a href="../../df/d9a/design_m_2command_8hpp.html">command.hpp</a></div></div>
<div class="ttc" id="amalloc_shared_ptr_8hpp_html"><div class="ttname"><a href="../../d0/d5c/malloc_shared_ptr_8hpp.html">mallocSharedPtr.hpp</a></div></div>
<div class="ttc" id="arb_tree_8hpp_html"><div class="ttname"><a href="../../d1/d65/rb_tree_8hpp.html">rbTree.hpp</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_1_1evt_data_html"><div class="ttname"><a href="../../d0/dba/structssl_svr_itfc_1_1evt_data.html">sslSvrItfc::evtData</a></div><div class="ttdef"><b>定义</b> <a href="#l00046">sslSvrItfc.hpp:46</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_1_1evt_data_html_a01c50cfc280991971867a28d430ac769"><div class="ttname"><a href="../../d0/dba/structssl_svr_itfc_1_1evt_data.html#a01c50cfc280991971867a28d430ac769">sslSvrItfc::evtData::m_conn</a></div><div class="ttdeci">connection_t m_conn</div><div class="ttdef"><b>定义</b> <a href="#l00047">sslSvrItfc.hpp:47</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_1_1evt_data_html_a741f45ce13d54a2aab4d5f680aa02445"><div class="ttname"><a href="../../d0/dba/structssl_svr_itfc_1_1evt_data.html#a741f45ce13d54a2aab4d5f680aa02445">sslSvrItfc::evtData::m_data</a></div><div class="ttdeci">wheels::mallocSharedPtr&lt; uint8_t &gt; m_data</div><div class="ttdef"><b>定义</b> <a href="#l00048">sslSvrItfc.hpp:48</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html">sslSvrItfc</a></div><div class="ttdef"><b>定义</b> <a href="#l00022">sslSvrItfc.hpp:23</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a2029471fc437ad4b3b0aa0b4c7af130c"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a2029471fc437ad4b3b0aa0b4c7af130c">sslSvrItfc::operator[]</a></div><div class="ttdeci">connection_t operator[](native_socket h)</div><div class="ttdef"><b>定义</b> <a href="../../d1/d29/ssl_svr_itfc_8cpp_source.html#l00126">sslSvrItfc.cpp:126</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a220330cc0745a8b2b741ac6b582daef6"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a220330cc0745a8b2b741ac6b582daef6">sslSvrItfc::p_ctx__</a></div><div class="ttdeci">SSL_CTX * p_ctx__</div><div class="ttdef"><b>定义</b> <a href="#l00051">sslSvrItfc.hpp:51</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a7a269f744e8745c19f477713eee954dd"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a7a269f744e8745c19f477713eee954dd">sslSvrItfc::m_connections__</a></div><div class="ttdeci">connData_t m_connections__</div><div class="ttdef"><b>定义</b> <a href="#l00053">sslSvrItfc.hpp:53</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a808be744b34f1d77675c48b7e625d582"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a808be744b34f1d77675c48b7e625d582">sslSvrItfc::getDispatcher</a></div><div class="ttdeci">wheels::dm::dispatcher&lt; event &gt; * getDispatcher()</div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a8ce639940281945cfb350d3c6512496d"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a8ce639940281945cfb350d3c6512496d">sslSvrItfc::counts</a></div><div class="ttdeci">uint32_t counts()</div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a924bd60b0510cc1ac7dfa7d9054a7354"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a924bd60b0510cc1ac7dfa7d9054a7354">sslSvrItfc::accept</a></div><div class="ttdeci">bool accept(native_socket sock)</div><div class="ttdoc">接收连接</div><div class="ttdef"><b>定义</b> <a href="../../d1/d29/ssl_svr_itfc_8cpp_source.html#l00079">sslSvrItfc.cpp:79</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a95757ce1105f2ed0770d8c94aa581898a572d1837c030072e32b3d3a5e55cf928"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898a572d1837c030072e32b3d3a5e55cf928">sslSvrItfc::event::EVT_DATA</a></div><div class="ttdeci">@ EVT_DATA</div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a95757ce1105f2ed0770d8c94aa581898a764aab757b6485d4d2713b5dad341c39"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898a764aab757b6485d4d2713b5dad341c39">sslSvrItfc::event::EVT_CLOSE</a></div><div class="ttdeci">@ EVT_CLOSE</div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a95757ce1105f2ed0770d8c94aa581898ac96dc57c504c76f8160000df53d794f6"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898ac96dc57c504c76f8160000df53d794f6">sslSvrItfc::event::EVT_ERROR</a></div><div class="ttdeci">@ EVT_ERROR</div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a95757ce1105f2ed0770d8c94aa581898aefd30a9a39d241aa16dee6536ed580dc"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898aefd30a9a39d241aa16dee6536ed580dc">sslSvrItfc::event::EVT_CONNECTED</a></div><div class="ttdeci">@ EVT_CONNECTED</div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a95757ce1105f2ed0770d8c94aa581898afe114681e82f0736ce511f8aaeff3fb7"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a95757ce1105f2ed0770d8c94aa581898afe114681e82f0736ce511f8aaeff3fb7">sslSvrItfc::event::EVT_REQ_CONNECT</a></div><div class="ttdeci">@ EVT_REQ_CONNECT</div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a958a13724cab4df40fd1537621fc26ef"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a958a13724cab4df40fd1537621fc26ef">sslSvrItfc::m_thd_pool__</a></div><div class="ttdeci">wheels::threadPool m_thd_pool__</div><div class="ttdef"><b>定义</b> <a href="#l00054">sslSvrItfc.hpp:54</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_a98b203594549cebe0e33fb337f03546b"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#a98b203594549cebe0e33fb337f03546b">sslSvrItfc::get</a></div><div class="ttdeci">connection_t get(native_socket h)</div><div class="ttdoc">根据本地套接字返回连接对象</div><div class="ttdef"><b>定义</b> <a href="../../d1/d29/ssl_svr_itfc_8cpp_source.html#l00110">sslSvrItfc.cpp:110</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_aa65a5eeb17702fe20f8478eaf0baf08c"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#aa65a5eeb17702fe20f8478eaf0baf08c">sslSvrItfc::~sslSvrItfc</a></div><div class="ttdeci">virtual ~sslSvrItfc()</div><div class="ttdef"><b>定义</b> <a href="#l00059">sslSvrItfc.hpp:59</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_acdb9712008d526d5fe9594e87671ddb7"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#acdb9712008d526d5fe9594e87671ddb7">sslSvrItfc::erase</a></div><div class="ttdeci">void erase(native_socket h)</div><div class="ttdef"><b>定义</b> <a href="../../d1/d29/ssl_svr_itfc_8cpp_source.html#l00141">sslSvrItfc.cpp:141</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_ad073fa1a447553619cab807f258d86e5"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#ad073fa1a447553619cab807f258d86e5">sslSvrItfc::connection_t</a></div><div class="ttdeci">std::shared_ptr&lt; sslSvrConnection &gt; connection_t</div><div class="ttdef"><b>定义</b> <a href="#l00033">sslSvrItfc.hpp:33</a></div></div>
<div class="ttc" id="astructssl_svr_itfc_html_ad5dfcc33ce645d022356211622061b33"><div class="ttname"><a href="../../dd/dd6/structssl_svr_itfc.html#ad5dfcc33ce645d022356211622061b33">sslSvrItfc::sslSvrItfc</a></div><div class="ttdeci">sslSvrItfc(const std::string &amp;ca, const std::string &amp;cert, const std::string &amp;key)</div><div class="ttdef"><b>定义</b> <a href="../../d1/d29/ssl_svr_itfc_8cpp_source.html#l00048">sslSvrItfc.cpp:48</a></div></div>
<div class="ttc" id="athread_pool_8hpp_html"><div class="ttname"><a href="../../dd/dce/thread_pool_8hpp.html">threadPool.hpp</a></div></div>
<div class="ttc" id="avariant_8hpp_html"><div class="ttname"><a href="../../d9/d7a/variant_8hpp.html">variant.hpp</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.11.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
